/**
 * 
 */
package com.shelpe.services.sinbad.configuration;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Redis配置属性
 * @author louxinhua
 *
 */
@ConfigurationProperties(prefix="spring.redis")  
public class RedisConfigProperties {

	
	private Integer database;
	private String host;
	private Integer port;
	private String password;
	private Integer poolMaxActive;
	private Long poolMaxWait;
	private Integer poolMaxIdle;
	private Integer poolMinIdle;
	private Long timeout;
	
	public Integer getDatabase() {
		return database;
	}
	public void setDatabase(Integer database) {
		this.database = database;
	}
	public String getHost() {
		return host;
	}
	public void setHost(String host) {
		this.host = host;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Integer getPoolMaxActive() {
		return poolMaxActive;
	}
	public void setPoolMaxActive(Integer poolMaxActive) {
		this.poolMaxActive = poolMaxActive;
	}
	public Integer getPoolMaxIdle() {
		return poolMaxIdle;
	}
	public void setPoolMaxIdle(Integer poolMaxIdle) {
		this.poolMaxIdle = poolMaxIdle;
	}
	public Integer getPoolMinIdle() {
		return poolMinIdle;
	}
	public void setPoolMinIdle(Integer poolMinIdle) {
		this.poolMinIdle = poolMinIdle;
	}
	public Long getPoolMaxWait() {
		return poolMaxWait;
	}
	public void setPoolMaxWait(Long poolMaxWait) {
		this.poolMaxWait = poolMaxWait;
	}
	public Long getTimeout() {
		return timeout;
	}
	public void setTimeout(Long timeout) {
		this.timeout = timeout;
	}
	public Integer getPort() {
		return port;
	}
	public void setPort(Integer port) {
		this.port = port;
	}
	
	
	
	
	
	
}
